package com.hl.card.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@TableName("dis_member_info")
public class DisMemberInfo extends Model<DisMemberInfo> {

	private static final long serialVersionUID = 1L;

	private Integer id;
	/**
	 * 平台
	 */
	@TableField("dis_platform_id")
	private String disPlatformId;
	/**
	 * 用户id
	 */
	@TableField("dis_user_id")
	private String disUserId;
	/**
	 * 上级id
	 */
	@TableField("dis_model_id")
	private String disModelId;
	/**
	 * 全路径
	 */
	@TableField("dis_full_index")
	private String disFullIndex;
	/**
	 * 用户名
	 */
	@TableField("dis_user_name")
	private String disUserName;
	/**
	 * 级别
	 */
	@TableField("dis_level")
	private Integer disLevel;
	/**
	 * 身份类型
	 */
	@TableField("dis_user_type")
	private String disUserType;
	/**
	 * 备注
	 */
	@TableField("dis_note")
	private String disNote;
	/**
	 * 添加时间
	 */
	@TableField("add_time")
	private String addTime;
	/**
	 * 更新时间
	 */
	@TableField("update_time")
	private String updateTime;
	/**
	 * 删除状态
	 */
	@TableField("status")
	private Integer status;

	private String isDelete;
	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	/**
	 * 上级代理商id
	 */
	@TableField("dis_plat_super")
	private String disPlatSuper;
	/**
	 * 代理商全路径
	 */
	@TableField("dis_plat_full_index")
	private String disPlatFullIndex;
	/**
	 * 代理商等级
	 */
	@TableField("dis_plat_level")
	private Integer disPlatLevel;
	/**
	 * 账户类型(0,会员，1：代理商)
	 */
	private String type;

	private String jurisdiction;   //权限集合

	private String dis_member_no;   //合伙人ID

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date dis_member_time;  //合伙人加入时间

	private String dis_avatar;   //头像

	/**
	 * 矿机数量
	 */
	@TableField("rob_num")
	private Integer robNum;

	public Integer getRobNum() {
		return robNum;
	}

	public void setRobNum(Integer robNum) {
		this.robNum = robNum;
	}
	@TableField("shop_num")
    private Integer shopNum;
	
	
	@TableField("cell_num")
    private Integer cellNum;
	
	
	@TableField("white_num")
	private Integer whiteNum; //3650
	   
	@TableField("star_num")
	private Integer starNum;  //9990 
	
	public Integer getWhiteNum() {
		return whiteNum;
	}

	public void setWhiteNum(Integer whiteNum) {
		this.whiteNum = whiteNum;
	}

	public Integer getStarNum() {
		return starNum;
	}

	public void setStarNum(Integer starNum) {
		this.starNum = starNum;
	}

	public Integer getCellNum() {
		return cellNum;
	}

	public void setCellNum(Integer cellNum) {
		this.cellNum = cellNum;
	}

	public Integer getShopNum() {
		return shopNum;
	}

	public void setShopNum(Integer shopNum) {
		this.shopNum = shopNum;
	}

	/**
	 * 支付密码
	 */
	@TableField("dis_pay_password")
	private String disPayPassword;
	
	private String newPassword;

	private String dis_recommendation_no; //合伙人推荐码

	private Integer dis_recomm_limit;  //推荐人数限制

	public String getContract_no() {
		return contract_no;
	}

	public void setContract_no(String contract_no) {
		this.contract_no = contract_no;
	}

	private String dis_recomm_pcode; //上级推荐码


	private String binding_phone; //绑定手机号

	private String idNo;   //身份证

	private String binding_email;  //绑定邮箱

	private String  contract_no;  //合同编号

	public String getZhuangtai() {
		return zhuangtai;
	}

	public void setZhuangtai(String zhuangtai) {
		this.zhuangtai = zhuangtai;
	}

	private Date  stupUse_time;  //停用时间

	private String  zhuangtai;  //合伙人状态

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDisPlatformId() {
		return disPlatformId;
	}

	public void setDisPlatformId(String disPlatformId) {
		this.disPlatformId = disPlatformId;
	}

	public String getDisUserId() {
		return disUserId;
	}

	public void setDisUserId(String disUserId) {
		this.disUserId = disUserId;
	}

	public String getDisModelId() {
		return disModelId;
	}

	public void setDisModelId(String disModelId) {
		this.disModelId = disModelId;
	}

	public String getDisFullIndex() {
		return disFullIndex;
	}

	public void setDisFullIndex(String disFullIndex) {
		this.disFullIndex = disFullIndex;
	}

	public String getDisUserName() {
		return disUserName;
	}

	public void setDisUserName(String disUserName) {
		this.disUserName = disUserName;
	}

	public Integer getDisLevel() {
		return disLevel;
	}

	public void setDisLevel(Integer disLevel) {
		this.disLevel = disLevel;
	}

	public String getDisUserType() {
		return disUserType;
	}

	public void setDisUserType(String disUserType) {
		this.disUserType = disUserType;
	}

	public String getDisNote() {
		return disNote;
	}

	public void setDisNote(String disNote) {
		this.disNote = disNote;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getDisPlatSuper() {
		return disPlatSuper;
	}

	public void setDisPlatSuper(String disPlatSuper) {
		this.disPlatSuper = disPlatSuper;
	}

	public String getDisPlatFullIndex() {
		return disPlatFullIndex;
	}

	public void setDisPlatFullIndex(String disPlatFullIndex) {
		this.disPlatFullIndex = disPlatFullIndex;
	}

	public Integer getDisPlatLevel() {
		return disPlatLevel;
	}

	public void setDisPlatLevel(Integer disPlatLevel) {
		this.disPlatLevel = disPlatLevel;
	}

	public String getDis_avatar() {
		return dis_avatar;
	}

	public void setDis_avatar(String dis_avatar) {
		this.dis_avatar = dis_avatar;
	}

	public Date getStupUse_time() {
		return stupUse_time;
	}

	public void setStupUse_time(Date stupUse_time) {
		this.stupUse_time = stupUse_time;
	}

	public String getDisPayPassword() {
		return disPayPassword;
	}

	public void setDisPayPassword(String disPayPassword) {
		this.disPayPassword = disPayPassword;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	public String getDis_recommendation_no() {
		return dis_recommendation_no;
	}

	public void setDis_recommendation_no(String dis_recommendation_no) {
		this.dis_recommendation_no = dis_recommendation_no;
	}

	public Integer getDis_recomm_limit() {
		return dis_recomm_limit;
	}

	public void setDis_recomm_limit(Integer dis_recomm_limit) {
		this.dis_recomm_limit = dis_recomm_limit;
	}

	public String getDis_recomm_pcode() {
		return dis_recomm_pcode;
	}

	public void setDis_recomm_pcode(String dis_recomm_pcode) {
		this.dis_recomm_pcode = dis_recomm_pcode;
	}

	public String getBinding_phone() {
		return binding_phone;
	}

	public void setBinding_phone(String binding_phone) {
		this.binding_phone = binding_phone;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getBinding_email() {
		return binding_email;
	}

	public void setBinding_email(String binding_email) {
		this.binding_email = binding_email;
	}


	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getDis_member_time() {
		return dis_member_time;
	}

	public void setDis_member_time(Date dis_member_time) {
		this.dis_member_time = dis_member_time;
	}

	public String getDis_member_no() {
		return dis_member_no;
	}

	public void setDis_member_no(String dis_member_no) {
		this.dis_member_no = dis_member_no;
	}

	public String getJurisdiction() {
		return jurisdiction;
	}

	public void setJurisdiction(String jurisdiction) {
		this.jurisdiction = jurisdiction;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}


}
